{include file="header.html"}
<div id="rightTop">
  <p>客户关系管理</p>
  <ul class="subnav">
   <li>
      <a class="btn1" href="index.php?app=customer">客户管理</a>
    </li>
    <li><a class="btn1" href="javascript:history.back();">返回</a></li>
    <li><span>查看回访详细记录</span></li>
  </ul>
</div>
<div class="mrightTop">
  <div class="fontr"> {if $customers_record}{include file=page.top.html}{/if} </div>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $customers_record}-->
      <!--{if $customer_data.source eq 5}-->
      <tr class="tatr1">
          <td class="firstCell">编号</td>
          <td>咨询日期</td>
          <td>咨询方式</td>
          <td>咨询原因</td>
          <td width="30%">咨询内容</td>
          <td width="30%">我方回复</td>
          <td>客户等级</td>
          <td>操作人</td>
      </tr>
      <!--{else}-->
      <tr class="tatr1">
          <td class="firstCell">编号</td>
          <td>回访日期</td>
          <td>回访方式</td>
          <td>回访原因</td>
          <td width="30%">回访内容</td>
          <td width="30%">对方回复</td>
          <td>客户等级</td>
          <td>操作人</td>
      </tr>
      <!--{/if}-->
    <!--{/if}-->
    <!--{foreach from=$customers_record item=record}-->
    <tr class="tatr2">
     <td class="firstCell">{$record.no}</td>
      <td>{$record.return_time}</td>
      <td>{$record.return_way|escape}</td>
      <td>{$record.reason|escape}</td>
      <td>{$record.return_content|escape}</td>
      <td>{$record.return_reply|escape}</td>
      <td>{$customer_data.customer_ugrade|escape}</td>
      <td>{$record.operator|escape}</td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="10">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $customers_record}-->
    <div id="dataFuncs">
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
    </div>
    <div class="clear"></div>
  </div>
  <!--{/if}-->
</div>
{include file="footer.html"} 